﻿using System;
using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_InStockLog : DataObject
    {
        [ID]
        [Column]
        [IDENTITY]
        public int ID { get { return fID; } set { fID = value; EntityState.FieldChange("ID"); } } private int fID; public static FieldInfo _ID = new FieldInfo("t_smd_InStockLog", "ID");
        [Column]
        public string Category { get { return fCATEGORY; } set { fCATEGORY = value; EntityState.FieldChange("Category"); } } private string fCATEGORY; public static FieldInfo _Category = new FieldInfo("t_smd_InStockLog", "Category");
        [Column]
        public decimal? Amount { get { return fAMOUNT; } set { fAMOUNT = value; EntityState.FieldChange("Amount"); } } private decimal? fAMOUNT; public static FieldInfo _Amount = new FieldInfo("t_smd_InStockLog", "Amount");
        [Column]
        public string Content { get { return fCONTENT; } set { fCONTENT = value; EntityState.FieldChange("Content"); } } private string fCONTENT; public static FieldInfo _Content = new FieldInfo("t_smd_InStockLog", "Content");
        [Column]
        public DateTime CreateOn { get { return fCREATEON; } set { fCREATEON = value; EntityState.FieldChange("CreateOn"); } } private DateTime fCREATEON; public static FieldInfo _CreateOn = new FieldInfo("t_smd_InStockLog", "CreateOn");
        [Column]
        public string CreaterName { get { return fCREATERNAME; } set { fCREATERNAME = value; EntityState.FieldChange("CreaterName"); } } private string fCREATERNAME; public static FieldInfo _CreaterName = new FieldInfo("t_smd_InStockLog", "CreaterName");

    }
}